package com.zhihuishu.micro.course.openapi.app.dto;

import java.io.Serializable;

import com.zhihuishu.micro.course.openapi.app.enmus.ChangePointEnum;

/**
 * 用户观看记录表
 * 
 * @author 嵇鹏
 * @descption:
 * 
 * 
 */
public class UserViewLogOpenDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private long userId;// 观看用户id

    private long courseId;// 观看的课程id

    private int module;// 用户观看的步骤(1--6)

    private ChangePointEnum changePointEnum;// 用户观看的点 暂时只有节或者小节

    private int viewPointId;// 用户观看点的id,只有第三步有用(表示的是节id或者小节id)其余默认为0

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getCourseId() {
        return courseId;
    }

    public void setCourseId(long courseId) {
        this.courseId = courseId;
    }

    public int getModule() {
        return module;
    }

    public void setModule(int module) {
        this.module = module;
    }

   
    public ChangePointEnum getChangePointEnum() {
        return changePointEnum;
    }

    public void setChangePointEnum(ChangePointEnum changePointEnum) {
        this.changePointEnum = changePointEnum;
    }

    public int getViewPointId() {
        return viewPointId;
    }

    public void setViewPointId(int viewPointId) {
        this.viewPointId = viewPointId;
    }

    @Override
    public String toString() {
        return "UserViewLogOpenDto [userId=" + userId + ", courseId=" + courseId + ", module=" + module
                + ", changePointEnum=" + changePointEnum + ", viewPointId=" + viewPointId + "]";
    }

   

}
